import http from "@/utils/request.js"

//用户名密码登入
export const otherLoginApi = (params) => http.post('/users/login', params)

//一键登入
export const onekeyLoginApi = phone => http.get('/users/onekeyLogin', {
	params: {
		phone
	}
})

//微信一键登入

export const mpLoginApi = params => http.post('/users/mpLogin', params)

//修改用户信息

export const updateUser = params => http.post("/users/updateUser", params)